'''
Created on 25/09/2012

@author: u346156
'''
import unittest
from Structural_Model.DataStream import *

class Test(unittest.TestCase):


    def setUp(self):
        pass


    def tearDown(self):
        pass


    """
    The data stream needs to provide a breakup to the stream
    and access to different types of streams with the ability to
    expand on the types of stream.
    """
    def testDataStream(self):
        dataStream = DataStream()
        dataStream.nextRecord("shglasgidshjfdglsa")
        self.assertTrue(dataStream.getRecord() == "shglasgidshjfdglsa")


if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.test']
    unittest.main()